package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper=false)
@Schema(title = "SysRoleUpdateDTO",description = "修改角色对象的入参模型")
public class SysRoleUpdateDTO extends SysRoleAddDTO {

    /**
     * 角色ID
     */
    @Schema(title = "角色ID")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

}
